import { createApp } from 'vue';
import router from "./router";
import './style.css'
import {Button,Search,Icon,Swipe, SwipeItem,Grid, GridItem,CountDown,Tabbar, TabbarItem,List,Image,ConfigProvider,Locale,ContactEdit,Form, Field, CellGroup,Toast,Loading } from "vant";
import enUS from 'vant/es/locale/lang/en-US';//英文语言包
import service from "./utils/service";
import App from './App.vue'
import store from './store'


Locale.use('en-US', enUS);

const app = createApp(App)

app.config.globalProperties.$http = service;

app.use(store);
app.use(router);
app.use(Button);
app.use(Search);
app.use(Icon);
app.use(Swipe);
app.use(SwipeItem);
app.use(Grid);
app.use(GridItem);
app.use(CountDown);
app.use(Tabbar);
app.use(TabbarItem);
app.use(List);
app.use(Image);
app.use(ConfigProvider);
app.use(Locale);
app.use(ContactEdit);
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Toast);
app.use(Loading);

app.mount('#app');
